﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
	public class NHOMHANGBUS
	{
		public static DataTable GetListNH()
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.GetListNH();
		}
		public static List<NHOMHANG> GetListNHS()
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.GetListNHS();
		}
		public static String CreateNewID()
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(NHOMHANG NH)
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.INSERT(NH);
		}
		public static bool UPDATE(NHOMHANG NH)
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.UPDATE(NH);
		}
		public static bool DELETE(NHOMHANG NH)
		{
			NHOMHANGDAO b = new NHOMHANGDAO();
			return b.DELETE(NH);
		}
	}
}
